<div id="sidebar-wrapper-left" class="sidebar-wrapper sidebar-wrapper-left crayons-layout__sidebar-left crayons-layout__content">
  <aside class="side-bar" aria-label="Primary sidebar">
    <% cache(release_adjusted_cache_key("main-sidebar-nav--#{user_signed_in?}-#{RequestStore.store[:subforem_id]}"), expires_in: 15.minutes) do %>
      <%= render partial: "shared/auth_widget", locals: { tracking_id: "ca_left_sidebar_home_page", source: "left_sidebar" } unless user_signed_in? %>
      <%= render partial: "layouts/main_nav", locals: { context: "sidebar" } %>
      <%= render "layouts/sidebar_tags" %>
    <% end %>
    <div class="js-billboard-container" data-async-url="<%= billboard_path(placement_area: :sidebar_left) %>"></div>
    <div class="js-billboard-container pt-4" data-async-url="<%= billboard_path(placement_area: :sidebar_left_2) %>"></div>
    <% cache("footer-modal-#{ForemInstance.deployed_at}-#{Settings::General.admin_action_taken_at&.rfc3339}-#{RequestStore.store[:subforem_id]}", expires_in: 24.hours) do %>
      <%= render "layouts/sidebar_footer" %>
    <% end %>
  </aside>
</div>

<%= javascript_include_tag "billboard", defer: true %>
